package com.rc.saas.tenant.service.invite;

import com.github.pagehelper.PageInfo;
import com.rc.saas.tenant.base.BaseService;
import com.rc.saas.tenant.mapper.invite.MemberInviteSettingMapper;
import com.rc.saas.tenant.model.invite.MemberInviteSetting;
import com.rc.saas.tenant.model.invite.MemberInviteSettingExample;
import com.rc.saas.tenant.search.invite.InviteSearch;
import com.rc.saas.tenant.vo.invite.InviteSettingVo;

/**
 * Create by Yang on 2021/4/26
 */
public interface MemberInviteSettingService extends BaseService<Long, MemberInviteSetting, MemberInviteSettingExample, MemberInviteSettingMapper> {

    PageInfo<InviteSettingVo> listPageInviteGain(InviteSearch inviteSearch);

    PageInfo<InviteSettingVo> listPageInviteTicket(InviteSearch inviteSearch);

    int insertOrUpdateMemberInviteSetting(MemberInviteSetting memberInviteSetting);

    int updateStatus(Long inviteSettingId);



}
